package DataBases;

public class WaterTreatmentObject{
	
	private Propiedades propiedades;
	
	private int pretreatment, primary, aeration, secondary; 


	public WaterTreatmentObject(Propiedades propiedades, int pretreatment,
			int primary, int aeration, int secondary) {
		super();
		this.propiedades = propiedades;
		this.pretreatment = pretreatment;
		this.primary = primary;
		this.aeration = aeration;
		this.secondary = secondary;
	}

	public int getTreatmentTime(){
		return pretreatment + primary + aeration + secondary;		
	}
	public Propiedades getPropiedades() {
		return propiedades;
	}

	public void setPropiedades(Propiedades propiedades) {
		this.propiedades = propiedades;
	}

	public int getPretreatment() {
		return pretreatment;
	}

	public void setPretreatment(int pretreatment) {
		this.pretreatment = pretreatment;
	}

	public int getPrimary() {
		return primary;
	}

	public void setPrimary(int primary) {
		this.primary = primary;
	}

	public int getAeration() {
		return aeration;
	}

	public void setAeration(int aeration) {
		this.aeration = aeration;
	}

	public int getSecondary() {
		return secondary;
	}

	public void setSecondary(int secondary) {
		this.secondary = secondary;
	}
	
}